package com.drojian;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class Root {
    @SerializedName("data")
    private List<DataItem> data;

    public List<DataItem> getData() {
        return data;
    }
}

class DataItem {
    @SerializedName("id")
    private int id;

    @SerializedName("name")
    private String name;

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }
}

